package day1;

/**
 * ClassName：Test5
 * 断言
 * @Author：小鱼
 * @Create：2025-08-18 14:44
 */
public class Test5 {
    public static void main(String[] args) {
        test(0);
    }
    public static void test(int num) {
        assert num!=0 : "num不能为0";
       int c = 10/num;
        System.out.println("c: "+c);
    }
}
